package com.mysite.seckill.commons.vo;

import java.io.Serializable;

import com.mysite.seckill.commons.po.Product;
import com.mysite.seckill.commons.po.SeckillActivity;

public class SeckillActivityVo extends SeckillActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long startTimeMillisecond;

    private Product product;

    public Long getStartTimeMillisecond() {
        return startTimeMillisecond == null ? getStartTime().getTime() : startTimeMillisecond;
    }

    public void setStartTimeMillisecond(Long startTimeMillisecond) {
        this.startTimeMillisecond = startTimeMillisecond;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }
}
